Svag matchende rim for photoresistor